package com.rogan.rpc;

import com.rogan.rpc.bean.Person;

public class HelloServiceImpl implements HelloService {

	@Override
	public String sayHello(String name) {
		 
		return "hello,"+name;
	}

	@Override
	public Person getPerson(String name) {
		 Person person = new Person();
		 person.setName(name);
		 person.setAge(20);
		return person;
	}

}
